log/slog.handleState.h (field)
24 uses
log/slog (current package)
handler.go#L327: if pfa := s.h.preformattedAttrs; len(pfa) > 0 {
handler.go#L330: s.sep = s.h.attrSep()
handler.go#L331: if s.h.json && pfa[len(pfa)-1] == '{' {
handler.go#L338: nOpenGroups := s.h.nOpenGroups
handler.go#L340: s.prefix.WriteString(s.h.groupPrefix)
handler.go#L347: nOpenGroups = len(s.h.groups)
handler.go#L357: nOpenGroups = s.h.nOpenGroups
handler.go#L360: if s.h.json {
handler.go#L362: for range s.h.groups[:nOpenGroups] {
handler.go#L382: h *commonHandler
handler.go#L397: h: h,
handler.go#L422: for _, n := range s.h.groups[s.h.nOpenGroups:] {
handler.go#L433: if s.h.json {
handler.go#L449: if s.h.json {
handler.go#L454: s.sep = s.h.attrSep()
handler.go#L477: if rep := s.h.opts.ReplaceAttr; rep != nil && a.Value.Kind() != KindGroup {
handler.go#L497: if s.h.json {
handler.go#L543: if s.h.json {
handler.go#L548: s.sep = s.h.attrSep()
handler.go#L555: case s.h.json:
handler.go#L570: if s.h.json {
handler.go#L603: if s.h.json {
handler.go#L614: if s.h.json {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)